import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';

AppBar buildAppBarA() {
  return AppBar(
    leading: IconButton(
      icon: SvgPicture.asset("assets/icons/menu.svg"),
      onPressed: () {},
    ),
    elevation: 0,
    backgroundColor: Colors.white,
    actions: [
      IconButton(
        icon: ClipOval(
          child: Image.asset(
            "assets/images/avatar.jpg",
            width: 40,
            height: 40,
          ),
        ),
        onPressed: () {},
      ),
    ],
  );
}

Row buildAppBarB() {
  return Row(
    mainAxisAlignment: MainAxisAlignment.spaceBetween,
    children: [
      SvgPicture.asset("assets/icons/menu.svg"),
      ClipOval(
        child: Image.asset(
          "assets/images/avatar.jpg",
          width: 40,
          height: 40,
        ),
      ),
    ],
  );
}
